package com.taotao.test2.easy;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @program: test2
 * @ClassName Test1
 * @description:
 * @author: wangjin
 * @create: 2023-06-08 17:03
 * @Version 1.0
 **/
public class Test1 {
    public static void main(String[] args) throws IOException {
        List<VoteExcel> data = new ArrayList<>();
      /*  for (int i = 0; i < 100; i++) {
            VoteExcel topicExcel = new VoteExcel();
            topicExcel.setId(i);
            topicExcel.setVoteTime(new Date());
            topicExcel.setVoteName("name" + i);
            topicExcel.setVoteOption("b");
            data.add(topicExcel);
        }*/
        ExcelUtils.exportVoteExcel("测试导出excel表","sheet1", VoteExcel.class, data,
                "","", new Date());
    }

}
